package com.yin.waimai.enums;

public enum Role {
    USER("ROLE_USER"),
    ADMIN("ROLE_ADMIN"),
    OPERATOR("ROLE_OPERATOR"),
    DELIVERY_PERSON("ROLE_DELIVERY_PERSON"); // 添加配送员角色

    private final String authority;

    Role(String authority) {
        this.authority = authority;
    }

    public String getAuthority() {
        return authority;
    }
}